package com.yuwubao.uav.tool.mapper;

import com.yuwubao.framework.bean.PageData;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 */
@Mapper
public interface AdviceMapper {

    void addAdviceAttach(PageData pageData) throws Exception;
    void deleteAdviceAttach(PageData pageData) throws Exception;
    void deleteAdvice(PageData pageData) throws Exception;
    void disableOrEnableAdvice(PageData pageData) throws Exception;
    void updateAdvice(PageData pageData) throws Exception;
    void addAdvice(PageData pageData) throws Exception;
    List<PageData> listAdviceAttach(PageData pageData) throws Exception;
    List<PageData> listAdvice(PageData pageData) throws Exception;
    int listAdviceCount(PageData pageData) throws Exception;

    List<PageData> listAdviceEnrollUser(PageData pageData) throws Exception;
    int listAdviceEnrollUserCount(PageData pageData) throws Exception;


}
